﻿capital = 285

oob = "AST_1936"
set_stability = 0.8
set_war_support = 0.3
# Starting tech
set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1		
	tech_engineers = 1
	tech_recon = 1
	tech_trucks = 1
	gw_artillery = 1
	interwar_antiair = 1
	
	basic_train = 1
	trench_warfare = 1
	fuel_silos = 1

	fleet_in_being = 1
}
if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
	}
}
if = {
	limit = {
		not = { has_dlc = "Man the Guns" }
	}
	set_technology = {
		early_destroyer = 1
		early_light_cruiser = 1
		early_heavy_cruiser = 1
		early_submarine = 1
		transport = 1
	}
	set_naval_oob = "AST_1936_naval_legacy"
}
if = {
	limit = {
		 has_dlc = "Man the Guns"
	}
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		early_ship_hull_cruiser = 1
		basic_ship_hull_cruiser = 1
		early_ship_hull_submarine = 1
		basic_battery = 1
		basic_torpedo = 1
		basic_depth_charges = 1
		basic_cruiser_armor_scheme = 1
		mtg_transport = 1
	}
	set_naval_oob = "AST_1936_naval"
}
if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "AST_1936_air_bba"
	else = {
		set_air_oob = "AST_1936_air_legacy"
		set_technology = {
			early_fighter = 1
			cv_early_fighter = 1
			cv_naval_bomber1 = 1
			naval_bomber1 = 1
			early_bomber = 1
			CAS1 = 1
		}
	}
}

recruit_character = AST_john_curtin
recruit_character = AST_eric_campbell
recruit_character = AST_richard_dixon
recruit_character = AST_earle_page
recruit_character = AST_rod_hull
recruit_character = AST_leslie_morshead
recruit_character = AST_thomas_blamey
recruit_character = AST_henry_wynter
recruit_character = AST_alan_vasey
recruit_character = AST_horace_robertson
recruit_character = AST_john_northcott
recruit_character = AST_harold_farncomb
recruit_character = AST_victor_crutchley
recruit_character = AST_clive_caldwell
recruit_character = AST_sydney_rowell
recruit_character = AST_richard_williams
recruit_character = AST_ragnar_colvin
recruit_character = AST_norman_makin
recruit_character = AST_james_fairbairn
recruit_character = AST_john_collins
recruit_character = AST_arthur_allen
recruit_character = AST_vernon_sturdee
recruit_character = AST_jack_crace
recruit_character = AST_cederic_hicks
recruit_character = AST_charles_burnett
recruit_character = AST_edmund_herring
recruit_character = AST_arthur_drakeford
recruit_character = AST_john_lavarack
recruit_character = AST_robert_g_menzies
recruit_character = AST_ben_chifley
recruit_character = AST_frank_forde
recruit_character = AST_alexander_hore_ruthven
recruit_character = AST_jack_beasley
recruit_character = AST_lance_sharkey
recruit_character = AST_herbert_v_evatt
recruit_character = AST_generic_fascist_demagogue
recruit_character = AST_arthur_calwell

if = {
	limit = {
		has_dlc = "Together for Victory"
	}
	recruit_character = AST_iven_mackay #Empty char can become unit leader via FT
}


if = {
	limit = {
		has_dlc = "Together for Victory"
	}
	add_ideas = AST_great_depression_1

	add_to_tech_sharing_group = commonwealth_research
}

1939.1.1 = {
	add_political_power = 1198
	add_command_power = 100
	oob = "AST_1939"
	if = {
		limit = { has_dlc = "By Blood Alone" }
			set_air_oob = "AST_1939_air_bba"
		else = {
			set_air_oob = "AST_1939_air_legacy"
			set_technology = {
				fighter1 = 1
				tactical_bomber1 = 1
			}
		}
	}
	if = {
		limit = { has_dlc = "Together for Victory" }
		complete_national_focus = AST_additional_militia_training
		complete_national_focus = AST_royal_australian_artillery
		complete_national_focus = AST_daimler_dingo
		complete_national_focus = AST_expand_the_raaf
		complete_national_focus = AST_cockatoo_island_shipyards
		complete_national_focus = AST_expand_northern_presence
		complete_national_focus = AST_standard_gauge_railway
		complete_national_focus = AST_industries_assistance_corporation
		complete_national_focus = AST_western_australian_government_railways
		complete_national_focus = AST_south_australian_housing_trust
		complete_national_focus = AST_support_the_policy_of_appeasement
		complete_national_focus = AST_cac_boomerang
		complete_national_focus = AST_fly_the_jolly_roger
		complete_national_focus = AST_royal_australian_submarine_service
		complete_national_focus = AST_promote_reservists
		complete_national_focus = AST_kangaroo_point_shipyards
		complete_national_focus = AST_adopt_westminster
		
		else = {
			#generic focuses
			complete_national_focus = army_effort
			complete_national_focus = equipment_effort
			complete_national_focus = motorization_effort
			complete_national_focus = aviation_effort
			complete_national_focus = naval_effort
			complete_national_focus = large_navy
			complete_national_focus = industrial_effort
			complete_national_focus = construction_effort
			complete_national_focus = production_effort
		}
	}

	add_ideas = {
		#laws		
		volunteer_only
		low_economic_mobilisation
	}

	
	set_technology = {
		interwar_artillery = 1
		interwar_antitank = 1
		infantry_weapons2 = 1
		support_weapons = 1
		support_weapons2 = 1
		

		#doctrines
		air_superiority = 1
		grand_battle_plan = 1
		trench_warfare = 1
		fleet_in_being = 1
		battlefleet_concentration = 1
		submarine_operations = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		mechanical_computing = 1
		computing_machine = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		fuel_refining = 1
		construction1 = 1
		construction2 = 1
		dispersed_industry = 1
		dispersed_industry2 = 1
	}
	if = {
		limit = {
			NOT = {
				has_dlc = "No Step Back"
			}
		}
		set_technology = {
			basic_light_tank = 1
			improved_light_tank = 1
			basic_medium_tank = 1
			basic_heavy_tank = 1
		}
	}
	if = {
		limit = {
			
			has_dlc = "No Step Back"
			
		}
		set_technology = {
			basic_light_tank_chassis = 1
			improved_light_tank_chassis = 1
			basic_medium_tank_chassis = 1
			basic_heavy_tank_chassis = 1
		}
	}
	if = {
		limit = {
			not = {
				has_dlc = "Man the Guns"
			}
		}
		set_technology = {
			basic_destroyer = 1
		}
		set_naval_oob = "AST_1939_naval_legacy"
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		set_technology = {
			basic_ship_hull_light = 1
			basic_light_battery = 1
			sonar = 1
			improved_sonar = 1
			improved_depth_charges = 1
		}
		set_naval_oob = "AST_1939_naval"
	}
}

set_politics = {
	ruling_party = democratic
	last_election = "1934.9.15"
	election_frequency = 36
	elections_allowed = yes
}

set_popularities = {
	democratic = 98
	communism = 2
}

set_convoys = 100

1939.1.1 = {
	set_politics = {
		ruling_party = democratic
		last_election = "1937.10.23"
		election_frequency = 36
		elections_allowed = yes
	}

	set_popularities = {
		democratic = 99
		communism = 1
	}

	set_convoys = 100
}

if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
	
	create_equipment_variant = {
		name = "Sydney Class"
		type = light_cruiser_1
		upgrades = {
			ship_reliability_upgrade = 2
			ship_engine_upgrade = 2
			ship_gun_upgrade = 2
			ship_anti_air_upgrade = 2
		}
	}
	
	create_equipment_variant = {
		name = "Canberra Class"
		type = heavy_cruiser_1
		upgrades = {
			ship_reliability_upgrade = 2
			ship_engine_upgrade = 2
			ship_armor_upgrade = 2
			ship_gun_upgrade = 2
		}
	}
}

if = {
	limit = { has_dlc = "Man the Guns" } 
	### Ship Variants ###
	# Light Cruisers #
	create_equipment_variant = {
		name = "Sydney Class"
		type = ship_hull_cruiser_2
		name_group = AST_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_2
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_2
			fixed_ship_armor_slot = ship_armor_cruiser_1
			front_1_custom_slot = empty
			mid_1_custom_slot = ship_torpedo_1
			mid_2_custom_slot = ship_airplane_launcher_1
			rear_1_custom_slot = ship_light_medium_battery_2
		}
	}
	create_equipment_variant = {
		name = "Town Class"
		type = ship_hull_cruiser_1
		name_group = AST_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
		obsolete = yes
	}
	# Heavy Cruisers #
	create_equipment_variant = {
		name = "Canberra Class"
		type = ship_hull_cruiser_1
		name_group = AST_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_medium_battery_2
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_armor_slot = ship_armor_cruiser_2
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_airplane_launcher_1
			mid_2_custom_slot = ship_torpedo_1
			rear_1_custom_slot = ship_medium_battery_2
		}
	}
	# Destroyers #
	create_equipment_variant = {
		name = "V/W Class"
		type = ship_hull_light_1
		name_group = AST_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_1
		}
	}
	create_equipment_variant = {
		name = "S Class"
		type = ship_hull_light_1
		name_group = AST_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = empty
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = ship_depth_charge_1
		}
		obsolete = yes
	}
}

1939.1.1 = {
	if = {
		limit = {
			not = { has_dlc = "Man the Guns" }
		}
		create_equipment_variant = {
			name = "Arunta Class"
			type = destroyer_1
			upgrades = {
				ship_torpedo_upgrade = 2
				destroyer_engine_upgrade = 2
				ship_ASW_upgrade = 2
				ship_anti_air_upgrade = 2
			}
		}
	}
	if = {
		limit = {
			has_dlc = "Man the Guns"
		}
		create_equipment_variant = {
			name = "Arunta Class"
			type = ship_hull_light_2
			name_group = AST_DD_HISTORICAL
			modules = {
				fixed_ship_battery_slot = ship_light_battery_2
				fixed_ship_anti_air_slot = ship_anti_air_1
				fixed_ship_fire_control_system_slot = ship_fire_control_system_0
				fixed_ship_radar_slot = ship_sonar_2
				fixed_ship_engine_slot = light_ship_engine_2
				fixed_ship_torpedo_slot = ship_torpedo_1
				mid_1_custom_slot = ship_light_battery_2
				rear_1_custom_slot = ship_depth_charge_2
			}
		}
	}
}

1941.1.1 = {
    add_ideas = {
		limited_conscription #Unmarried men aged 21 were to be called up for three months of military training
		war_economy
	}
    if = {
		limit = { has_dlc = "Together for Victory" }
	    complete_national_focus = AST_establish_advisory_war_council
		complete_national_focus = AST_national_security_act
		complete_national_focus = AST_sentinel_tank_project
		complete_national_focus = AST_expand_lithgow_small_arms_project
		unlock_national_focus = AST_strengthen_ties_with_uk
		complete_national_focus = AST_cac_woomera
		complete_national_focus = AST_naval_bombers
		complete_national_focus = AST_department_of_supply_and_development
		complete_national_focus = AST_naval_auxiliary_patrol
		complete_national_focus = AST_womens_auxilliary_australian_air_force
	}
}

1942.1.1 = {
    oob = "AST_1942"
	if = {
		limit = { has_dlc = "Together for Victory" } #All of these organizations were founded in between June 1941-June 1942 which is why there is so much stuff here.
	    complete_national_focus = AST_volunteer_defence_corps
		complete_national_focus = AST_rats_of_tobruk #The Siege of Tobruk ended in November 1941
		complete_national_focus = AST_hmas_assault
		complete_national_focus = AST_civil_construction_corps
		complete_national_focus = AST_australian_womens_army_service
		complete_national_focus = AST_fund_owen_gun_research #The Owen Gun was researched starting from June 1941 and took until March 1942 to finish
		complete_national_focus = AST_allied_works_council
		complete_national_focus = AST_volunteer_air_observers_corps
	}
}

1943.1.1 = {
    add_ideas = {
	    extensive_conscription #In late 1942, all men aged 18-35 and single men aged 35-45 were required to join the Citizen Military Forces
	}
    if = {
		limit = { has_dlc = "Together for Victory" }
		complete_national_focus = AST_introduce_unconventional_warfare
		complete_national_focus = AST_m_special_unit
		complete_national_focus = AST_z_special_unit
		complete_national_focus = AST_central_bureau
		complete_national_focus = AST_australian_army_catering_corps
	}
}

1944.1.1 = {
    if = {
	    limit = { has_dlc = "Together for Victory" }
		complete_national_focus = AST_citizen_military_forces
		complete_national_focus = AST_invest_in_victory
		complete_national_focus = AST_army_inventions_directorate
		complete_national_focus = AST_CSIR
		complete_national_focus = AST_empire_air_training_scheme
		complete_national_focus = AST_australian_army_catering_corps
		complete_national_focus = AST_commonwealth_aircraft_corporation
		complete_national_focus = AST_dominate_the_skies
		complete_national_focus = AST_death_from_down_under
	}
	set_technology = { #Code from 1944 - Downfall
		tech_trucks = 1
		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		radio_detection = 1
		decimetric_radar = 1
		improved_decimetric_radar = 1
		centimetric_radar = 1

		#industry
		excavation1 = 1
		excavation2 = 1
		excavation3 = 1

		#doctrine
		trench_warfare = 1
		grand_battle_plan = 1
		prepared_defense = 1
		grand_assault = 1
		infantry_offensive = 1

		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1

		fuel_silos = 1
		fuel_refining = 1
		fuel_refining2 = 1
		fuel_refining3 = 1

		synth_oil_experiments = 1
		oil_processing = 1
		rubber_processing = 1

		construction1 = 1
		construction2 = 1
		construction3 = 1

		dispersed_industry = 1
		dispersed_industry2 = 1
		dispersed_industry3 = 1
		dispersed_industry4 = 1

		support_weapons = 1
		support_weapons2 = 1
		support_weapons3 = 1

		infantry_weapons_3 = 1

		improved_infantry_weapons = 1
		improved_infantry_weapons_2 = 1

		infantry_at = 1

		gw_artillery = 1
		artillery1 = 1
		artillery2 = 1
		artillery3 = 1
		#artillery4 = 1

		interwar_antiair = 1
		antiair1 = 1
		antiair2 = 1
		#antiair3 = 1

		interwar_antitank = 1
		antitank1 = 1
		antitank2 = 1
		antitank3 = 1
		#antitank4 = 1

		motorised_infantry = 1

		tech_mountaineers = 1
		tech_support = 1

		tech_engineers = 1
		tech_engineers2 = 1
		tech_engineers3 = 1

		tech_recon = 1
		tech_recon2 = 1
		tech_recon3 = 1

		tech_field_hospital = 1
		tech_field_hospital2 = 1

		tech_military_police = 1

		tech_maintenance_company = 1
		tech_maintenance_company2 = 1
		
		basic_train = 1
	}
}

1945.1.1 = {
    if = {
	    limit = { has_dlc = "Together for Victory" }
		complete_national_focus = AST_squash_the_squanderbugs
	    complete_national_focus = AST_fight_work_or_perish #The Great Depression was still an issue in Australia during 1944
		complete_national_focus = AST_classify_aliens
		complete_national_focus = AST_rationing_and_recycling
		complete_national_focus = AST_australian_arms_production
	}
}